'''
私有方法
    与属性一致
'''


class Person:
    __height = 'xxx cm'
    __weight = 'xx kg'

    def __init__(self):
        pass

    def __my_height(self):
        print('my height is {height}'.format(height=self.__height))

    def __my_weight(self):
        print('my weight is {0}'.format(self.__weight))

    def my_info(self):
        self.__my_height()
        self.__my_weight()


p = Person()
p.my_info()
p._Person__my_weight()
